home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Sample Code / Snippets / Files / SFGetFolder C / SelectFolder.readme < prev    next >
Encoding:
Text File  |  1992-07-15  |  714 b   |  24 lines  |  [TEXT/ttxt]

  1. StandardGetFolder example
  2.  
  3.     Steve Falkenburg -- MacDTS
  4.     
  5.     This sample uses the new System 7 CustomGetFile routine
  6.     to provide a StandardGetFolder call to be used by applications
  7.     when the user needs to select a folder instead of a file.
  8.     
  9.     It's written in Think C, but should work in MPW if a few #include
  10.     files are added.
  11.     
  12.     The style of the dialog box is taken from the Human Interface note
  13.     on folder selection.
  14.     
  15.     10/30/91
  16.  
  17. -------------------
  18.  
  19. 5/2/92 -- added check for refCon==sfMainDialogRefCon in filter and hook routines
  20.    for compatibility with things which throw up windows in front of standard file.
  21.  
  22. 5/2/92 -- added MakeFSSpec call to insure that the filename field in the fsspec gets
  23.    filled in.
  24.